// 默认从pages开始查找
const routes = [
  {
    path: '/',
    component: '../layouts/BasicLayout',
    routes: [
      {
        path: '/',
        name: 'index',
        component: './Index',
        exact: true,
        title: '首页',
      },

      {
        component: './404',
      },
    ],
  },
  {
    component: './404',
  },
];

export default routes;
